#!/usr/bin/env python

AUTH_OK = 0
AUTH_BAD_USERNAME = 1
AUTH_BAD_PASSWORD = 2
AUTH_USER_DISABLED = 3
AUTH_PASSWORD_EXPIRED = 4

class UserManagerException ( Exception ): pass
class UserNotFoundError ( UserManagerException ): pass
class UserAlreadyExistsError ( UserManagerException ): pass
class InvalidUserNameError ( UserManagerException ): pass

